package setDaemonDemo;

public class MyDaemon extends Thread{
    public MyDaemon(String name) {
        super(name);
    }

    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.print(getName()+ i+"次 ");
        }
    }
}
